<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <title>Testcase for tile larger than surface</title>

    <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=521207 -->
    <defs>
        <filter primitiveUnits="objectBoundingBox" filterUnits="objectBoundingBox" 
                id="filter_1" x="-50%" y="-50%" width="200%" height="200%">
            <feTile />
        </filter>
    </defs>

    <rect width="100%" height="100%" fill="lime" />
    <rect x="10" y="10" width="100" height="100" fill="red" />
    <rect x="10" y="10" width="100" height="100" fill="lime" style="filter:url(#filter_1);"/>
</svg>
